import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_utils/flutter_utils.dart';

void main() {
  group('string utils test', () {
    test('fillingLength test', () {
      expect('002', '2'.fillingLength(3));
      expect(' 你好世界', '你好世界'.fillingLength(5, fillBy: ' '));
      expect('12345', '12345'.fillingLength(1));
    });
  });
}
